package com.example.my_flea_street.service;

import com.example.my_flea_street.bean.Info;
import com.example.my_flea_street.bean.User;
import com.github.pagehelper.Page;

import java.util.List;

public interface UserService {
    Page<Info> getAllUser();
    User getUserByPhone(String phone);
    int registerToUser(User user);
    String getPassword(String phone);
}
